package bean;

import java.io.Serializable;
import java.util.ArrayList;

import common.ServerConfig;

/**
 * Created by ilioili on 2015/3/18.
 */
public class TabTopicItem implements Serializable {
    private String id;
    private String title;
    private String summary;
    private String img;
    private String banner;
    private String snapshot;
    private String news_num;
    private String articles_num;
    private String comments_num;
    private String star_num;
    private ArrayList<TabNewsItem> news;
    private ArrayList<TabArticleItem> articles;

    public String getArticles_num() {
        return articles_num;
    }

    public void setArticles_num(String articles_num) {
        this.articles_num = articles_num;
    }

    public String getComments_num() {
        return comments_num;
    }

    public void setComments_num(String comments_num) {
        this.comments_num = comments_num;
    }

    public String getStar_num() {
        return star_num;
    }

    public void setStar_num(String star_num) {
        this.star_num = star_num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = ServerConfig.PIC_HOST + img;
    }

    public String getBanner() {
        return banner;
    }

    public void setBanner(String banner) {
        this.banner = ServerConfig.PIC_HOST + banner;
    }

    public String getNews_num() {
        return news_num;
    }

    public void setNews_num(String news_num) {
        this.news_num = news_num;
    }

    public String getSnapshot() {
        return snapshot;
    }

    public void setSnapshot(String snapshot) {
        this.snapshot = snapshot;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public ArrayList<TabNewsItem> getNews() {
        return news;
    }

    public void setNews(ArrayList<TabNewsItem> news) {
        this.news = news;
    }

    public ArrayList<TabArticleItem> getArticles() {
        return articles;
    }

    public void setArticles(ArrayList<TabArticleItem> articles) {
        this.articles = articles;
    }
}
